package com.freda.oa.flow.support.impl;

import java.util.List;

import org.eredlab.g4.ccl.datastructure.Dto;

import com.freda.oa.flow.run.service.itf.FlowQueryServiceItf;
import com.freda.oa.flow.support.Itf.FlowQuerySupport;

public class FLowQuerySupportImpl implements FlowQuerySupport {
	
	/**
	 * 查询支持
	 */
	private FlowQueryServiceItf query ;
	
	/* (non-Javadoc)
	 * @see com.freda.oa.flow.support.impl.QuerySupport#query(java.lang.String)
	 */
	@Override
	public List<Dto> query(String type,Dto pDto)
	{
		return query.queryFlowInfo(type,pDto);
	}
	
	/**
	 * @param query the query to set
	 */
	public void setQuery(FlowQueryServiceItf query) {
		this.query = query;
	}
	
}
